ImportWP\Common\Importer\Importer C

Total Complexity 112
Dependencies 15
Dependents 1
Total lines 740
Lines of code 422
Logical lines of code 292
Comment lines 129
Methods 26
Properties 9

Methods 26

Method Rating Maintainability Complexity Lines of code
filterRecords()
C
35 30 91
import_row()
A
37 13 76
import()
A
41 14 53
setup_importer_state()
A
43 12 43
get_memory_limit()
S
56 7 17
try_import_dangling_rows()
S
52 6 23
register_shutdown()
S
56 3 20
has_enough_memory()
S
60 3 13
update_importer_stats()
S
57 2 19
getRecordStart()
S
78 3 3
getRecordEnd()
S
77 3 3
has_dangling_state()
S
60 2 13
__construct()
S
81 1 3
getParser()
S
82 1 3
filter()
S
82 1 3
has_enough_time()
S
78 1 3
get_memory_usage()
S
81 1 3
parser()
S
77 1 4
is_graceful_shutdown()
S
82 1 3
unregister_shutdown()
S
81 1 3
to()
S
81 1 3
from()
S
81 1 3
csvFile()
S
72 1 5
xmlFile()
S
72 1 5
mapper()
S
77 1 4
getMapper()
S
82 1 3